using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN ComponentsEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: ComponentsEntity</para>
	/// <para>Description: ClassComponentsEntity store data of table Components</para>
	///</summary>

	[DataContract]
	public partial class ComponentsEntity{


		private bool _InternalChangedIsNullComponent_ID=true;
		private bool _IsNullComponent_ID=true;
		private bool _InternalChangedIsNullComponentName=true;
		private bool _IsNullComponentName=true;
		private bool _InternalChangedIsNullSourceCode=true;
		private bool _IsNullSourceCode=true;
		private bool _InternalChangedIsNullContent=true;
		private bool _IsNullContent=true;
		private int _Component_ID;
		private string _ComponentName;
		private string _SourceCode;
		private Byte[] _Content;
		[DataMember]
		public bool IsNullComponent_ID{
			get{return _IsNullComponent_ID;}
			set{if(!_InternalChangedIsNullComponent_ID)_IsNullComponent_ID=value;}
		}
		[DataMember]
		public bool IsNullComponentName{
			get{return _IsNullComponentName;}
			set{if(!_InternalChangedIsNullComponentName)_IsNullComponentName=value;}
		}
		[DataMember]
		public bool IsNullSourceCode{
			get{return _IsNullSourceCode;}
			set{if(!_InternalChangedIsNullSourceCode)_IsNullSourceCode=value;}
		}
		[DataMember]
		public bool IsNullContent{
			get{return _IsNullContent;}
			set{if(!_InternalChangedIsNullContent)_IsNullContent=value;}
		}
		[DataMember]
		public int Component_ID{
			get{return _Component_ID;}
			set{
				_Component_ID=value;
				if(_Component_ID!=null){
					_IsNullComponent_ID=false;
					_InternalChangedIsNullComponent_ID=true;
				}
			}
		}
		[DataMember]
		public string ComponentName{
			get{return _ComponentName;}
			set{
				_ComponentName=value;
				if(_ComponentName!=null){
					_IsNullComponentName=false;
					_InternalChangedIsNullComponentName=true;
				}
			}
		}
		[DataMember]
		public string SourceCode{
			get{return _SourceCode;}
			set{
				_SourceCode=value;
				if(_SourceCode!=null){
					_IsNullSourceCode=false;
					_InternalChangedIsNullSourceCode=true;
				}
			}
		}
		[DataMember]
		public Byte[] Content{
			get{return _Content;}
			set{
				_Content=value;
				if(_Content!=null){
					_IsNullContent=false;
					_InternalChangedIsNullContent=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END ComponentsEntityBase*****************************************/
	/*****************************************************************************************************/
}

